Map
lock_free.Map
Map(CTK:property.hashable,CTV:Any) ref:Mutable_Map CTK, CTV is[Private constructor]¶[src]
the ctrie
Type Parameters
Fields
Functions
as_map => container.Map CTK CTV¶[src]
create an immutable copy of this mutable map
get(k CTK) => option CTV[Redefinition of container.Mutable_Map.get]¶[src]
lookup key k
items => Sequence (tuple CTK CTV)[Redefinition of container.Mutable_Map.items]¶[src]
a snapshot of the ctrie as sequence auf key-value tuples
put(k CTK,v CTV) => unit[Redefinition of container.Mutable_Map.put]¶[src]
add key value
if key is already present value is updated
if key is already present value is updated
remove(k CTK) => option CTV[Redefinition of container.Mutable_Map.remove]¶[src]
remove key from ctrie
size => i64[Redefinition of container.Mutable_Map.size]¶[src]
the size of the ctrie
snapshot(read_only bool) => lock_free.this.Map CTK CTV¶[src]
take a snapshot of the ctrie
Type Features
type.empty => lock_free.Map CTK CTV[Redefinition of container.Mutable_Map.type.empty]¶[src]
initialize a new ctrie
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)